# -*- coding: utf-8 -*-
# Author: xiantingDeng
# File: 07_多个参数穿戴.py
# Time: 21:31


def func(functionName):
    print("====func 1====")

    def func_in(*args, **kwargs):
        print("====func_in 1====")
        functionName(*args, **kwargs)
        print("====func_in 2====")

    print("====func 2====")
    print("====func 3====")
    return func_in


@func
def dooer(a, b):
    print("----test-a=%d,b=%d" % (a, b))

@func
def dooer2():
    print("----test-a=%d,b=%d")

if __name__ == '__main__':
    # dooer(11, 22)
    dooer2()
